package org.geektimes.injection.stream;

import java.util.function.Function;

/**
 * @FileName: StringConvertFunction
 * @Description: 请求参数转换器接口
 * @Author: MaWenHao
 * @Created: 2021/3/1 - 下午8:47
 */
@FunctionalInterface
public interface StringConvertFunction<T> extends Function<String[], T> {

    /**
     * 将String数组转换成T
     * @param strings
     * @return T
     */
    @Override
    T apply(String[] strings);
}
